package com.zhsm.fuxi.mvp.contract

import android.graphics.Bitmap
import com.hankkin.library.mvp.contract.IBaseViewContract
import com.hankkin.library.mvp.contract.IPresenterContract

/**
 * Created by GuZhC on 2018/10/9.
 * describe:
 */
interface LoginContract {
    interface IView : IBaseViewContract {
        fun setCountDownText(s: Int)
        fun setImageCodeUrl(bitmap: Bitmap?)
        fun loginSucces()
    }

    interface IPresenter : IPresenterContract {
        fun sendImgCode(phone: String)
        fun sendSmsCode(phone: String,imageCode: String)
        fun Login(phone: String, code: String)
        fun postRegisterId(id: Long)
    }
}